package com.hksj.Intelligentmanagement.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * @ClassName OperatingRoomInfoEntity
 * @Description TODO
 * @Author @陈章
 * @Date 2023/3/31 16:21
 * @Version 1.0
 */
@ApiModel("手术间信息")
@TableName("b_operating_room_info")
@Data
public class OperatingRoomInfoEntity extends BaseEntity {

    @ApiModelProperty(value = "手术信息表id", required = true)
    @NotBlank(message = "手术信息表id不能为空")
    private String surgicalInfoId;

    @ApiModelProperty(value = "手术间号", required = true)
    @NotNull(message = "手术间号不能为空")
    private String administrativeOfficeId;

    @ApiModelProperty(value = "班次", required = true)
    @NotNull(message = "班次不能为空")
    private String setsNumber;

    @ApiModelProperty(value = "申请时间", required = true)
    @NotNull(message = "申请时间不能为空")
    private String applicationTime;

    @ApiModelProperty(value = "备注")
    private String remake;

//    @ApiModelProperty("逻辑删除标致的值")
//    @TableLogic  //逻辑删除和义务删除标识
//    private Integer delFlag;
}
